package com.lmabbe.common.mvc.config;

import lombok.Data;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import springfox.documentation.service.Contact;

/**
 * @author lmabbe
 * @data 2021/3/28 11:04
 */
@Data
public class LmabbeSwaggerProperties {

    private boolean enable;

    @NestedConfigurationProperty
    private Contact contact = new Contact("lmabbe", "http://lmabbe.com", "lmabbe@outlook.com");

    private String title = "在线文档";

    private String version = "1.0";

    private String desc = "lmabbe-在线文档";

    private String scanPackage = "com.lmabbe";

    private String serviceUrl = "/";
}
